package com.zdkj.subway.st.dto.in;

import com.zdkj.subway.st.entity.SwTkTicketDeliveryDetail;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @support: zdkj
 * @author: cuilei
 * @version: 1.0
 * @Date: 2020-06-16 16:52
 * @Description: <p>
 * 线网车票配送录入表单封装
 * </p>
 */
@Data
public class SwTkTicketDeliveryDTO {

    @ApiModelProperty(value = "唯一标识")
    private Integer id;

    /**
     * 线路编码
     */
    @ApiModelProperty(value = "线路编码")
    private String lineCode;
    /**
     * 车站编码
     */
    @ApiModelProperty(value = "车站编码")
    private String stationCode;
    /**
     * 配送数量【张】
     */
    @ApiModelProperty(value = "配送数量【张】")
    private Integer deliveryCount;
    /**
     * 配送人
     */
    @ApiModelProperty(value = "配送人")
    private String deliveryPersonName;
    /**
     * 配送人工号
     */
    @ApiModelProperty(value = "配送人工号")
    private String deliveryPersonCode;
    /**
     * 配送人2
     */
    @ApiModelProperty(value = "配送人2")
    private String deliveryPersonTwoName;
    /**
     * 配送人2工号
     */
    @ApiModelProperty(value = "配送人2工号")
    private String deliveryPersonTwoCode;
    /**
     * 配送时间
     */
    @ApiModelProperty(value = "配送时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deliveryTime;
    /**
     * 数据来源:0:人工添加;1:周配送计划
     */
    @ApiModelProperty(value = "数据来源:0:人工添加;1:周配送计划")
    private String dataSource;
    /**
     * 配送明细列表
     */
    @ApiModelProperty("配送明细列表")
    private List<SwTkTicketDeliveryDetail> swTkTicketDeliveryDetails;
}
